﻿@model PostListViewModel
@{
    ViewBag.Title = this.GetTtile(null);
}
@section head{
    <meta name="Title" content='@ViewBag.Title' />
    <meta name="Keywords" content='@Model.Items.SelectMany(x => x.PostItem.Tags.Select(y => y.Name)).Distinct().Where(x => !string.IsNullOrWhiteSpace(x)).Stringfy()' />
    <meta name="Description" content='@Config.AboutText.Strip()' />
}
@if (Model.Items.Count() == 0)
{
    <article>No posts found.</article>
}
else
{ 
    @Html.Partial("~/Views/Post/List.cshtml", Model)
}
